﻿@using MvcApplicationMyTest.Models
@{
    ViewBag.Title = "List";
}

<h2>List</h2>

<ul>
    @foreach (Category cat in ViewBag.Categories)
    {
        <li>@Html.ActionLink(cat.Title, "Category", "Home", new {id = cat.CategoryId}, null)</li>
    }
</ul>
